package com.shenmazong.core;

/**
 * @program: server-java-demo
 * @description: DataType02
 * @author: 亮子说编程
 * @create: 2020-10-15 10:59
 **/
public class DataType02 {

    public static void main(String[] args) {

        Integer a = 100;
        Integer b = 100;
        System.out.println(a == b);
        System.out.println(a.equals(b));

        Integer x = 128;
        Integer y = 128;
        System.out.println(x == y);
        System.out.println(x.equals(y));
    }
}
